/**
 * 
 */
package STUDENTS.PHAMHONGSON.MVC.Eg07142016.Models;

import STUDENTS.PHAMHONGSON.MVC.Eg07142016.Objects.LogObj;

/**
 * @author WindChime
 *
 */
public class LogModel {
	String sResult = "";
	public String LogProcessed(LogObj obj) 
	{
				
		if (obj.getLogInfo()==1)
				sResult += "Welcome back: " + obj.getUserName();
		else 
				sResult += "Sorry, you should try it again";
		return sResult;
	
	}
}